.right_mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  .right_box {
    display: flex;
    flex-flow: column;
    width: 40rem;
    position: absolute;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.5rem var(--color5);
    padding: 0.2rem;
    background-color: var(--color9);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-2rem);
    &.open {
      transition: transform var(--speed-duration) var(--speed-timing),
        opacity var(--speed-duration) var(--speed-timing);
      opacity: 1;
      transform: none;
    }
    .loading {
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      padding-top: 4rem;
      width: 100%;
      height: 100%;
      background-color: var(--bg-color-o2);
      background-image: url('../../../images/img/loading.svg');
      background-repeat: no-repeat;
      background-size: 16%;
      background-position: center;
      background-origin: content-box;
      z-index: 1;
    }
    .head {
      position: relative;
      z-index: 2;
      width: 100%;
      height: 4.1rem;
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--color8);
      .search_btn,
      .close {
        font-size: 2rem;
        flex: none;
        width: 4rem;
        height: 4rem;
        line-height: 4rem;
        text-align: center;
        &:hover {
          color: var(--text-hover-color);
          transform: scale(1.2);
        }
      }
      .search_box {
        flex: auto;
        display: none;
        align-items: center;
        margin: 0 0.5rem;
        max-width: 20rem;
        min-width: 8rem;
        width: 0;
        background-color: var(--bg-color-o2);
        height: 3rem;
        line-height: 3rem;
        border-radius: 0.2rem;

        &.focus {
          background-color: var(--color10);
        }

        input {
          flex: auto;
          padding-left: 1rem;
          border: none;
          outline: 0;
          font-size: 1.6rem;
          width: 0;
          background-color: transparent;
        }

        i {
          display: none;
          flex: none;
        }
      }
      .title {
        flex: auto;
        height: 4rem;
        overflow: hidden;
        line-height: 4rem;
        white-space: nowrap;
        color: var(--color2);
        .scroll_text {
          float: left;
        }
      }
    }
    .content {
      user-select: text;
      background-color: var(--color10);
      position: relative;
      flex: auto;
      overflow-y: auto;
      overscroll-behavior: contain;
      -ms-scroll-chaining: contain;
      padding: 0.5rem;

      .item {
        font-size: 1.8rem;
        line-height: 1.5;
        margin: 0.2rem;
        padding: 0.6rem;
        border-radius: 0.4rem;
        word-break: break-all;
        display: flex;
        align-items: center;

        &.active,
        &:hover {
          background-color: var(--color9);
          color: var(--text-hover-color);
          .icon:first-of-type,
          img {
            transform: scale(1.2);
          }
        }
        &.stop {
          pointer-events: none;
        }
        .text {
          margin: 0 1rem;
        }
        .title {
          white-space: nowrap;
          color: var(--icon-color);
          text-align: center;
        }
        .icon {
          flex: none;
          font-size: 2rem;
          color: var(--icon-color);
          width: 2.6rem;
          text-align: center;
        }
      }
      .err {
        height: 2rem;
        line-height: 2rem;
        color: var(--btn-danger-color);
        font-size: 1.5rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin: 0 auto;
        width: 96%;
      }
      .inp_item {
        .title {
          color: var(--icon-color);
          width: 96%;
          line-height: 1.5;
          font-size: 1.5rem;
          margin: 0 auto;
        }
        .inp_box {
          margin: 0 auto;
          width: 96%;
          display: flex;
          height: 5rem;
          line-height: 5rem;
          border: 1px solid var(--btn-primary-border-color);
          border-radius: 0.2rem;
          align-items: center;

          &.focus {
            border: 1px solid var(--btn-primary-color);
          }

          .inp {
            flex: auto;
            width: 0;
            padding-left: 1rem;
            font-size: 1.8rem;
            outline: none;
            border: none;
            background-color: transparent;
          }
          .show_pass_btn {
            display: none;
            flex: none;
            font-size: 1.1em;
            &:hover {
              color: var(--text-hover-color);
            }
          }
          .clean_btn {
            display: none;
            flex: none;
            font-size: 1.1em;
            &:hover {
              color: var(--text-hover-color);
            }
            &.show {
              display: block;
            }
          }
        }
      }
      .select_item {
        .title {
          color: var(--icon-color);
          width: 96%;
          line-height: 1.5;
          font-size: 1.5rem;
          margin: 0 auto;
        }
        .select_box {
          margin: 0 auto;
          width: 96%;
          display: flex;
          height: 5rem;
          line-height: 5rem;
          align-items: center;
          border: 1px solid var(--btn-primary-border-color);
          border-radius: 0.2rem;
          padding-left: 1rem;
          font-size: 1.8rem;
          &:hover {
            border: 1px solid var(--btn-primary-color);
            i {
              color: var(--text-hover-color);
            }
          }
          span {
            flex: auto;
          }
          i {
            flex: none;
            font-size: 1.6rem;
            padding: 0 0.5rem;
          }
        }
      }
      .texta_item {
        .title {
          color: var(--icon-color);
          width: 96%;
          line-height: 1.5;
          font-size: 1.5rem;
          margin: 0 auto;
        }
        .texta_box {
          margin: 0 auto;
          width: 96%;
          position: relative;
          .texta {
            display: block;
            border: 1px solid var(--btn-primary-border-color);
            background-color: transparent;
            border-radius: 0.2rem;
            box-shadow: none;
            font-size: 1.8rem;
            outline: none;
            padding: 1rem 0.8rem;
            text-align: center;
            width: 100%;
            min-height: 20rem;
            resize: none;
            font-size: 1.6rem;
            line-height: 1.5;
            padding: 0.8rem 0.8rem 3rem 0.8rem;
            text-align: left;

            &:focus {
              border: 1px solid var(--btn-primary-color);
            }
          }
          .clean_btn {
            display: none;
            width: 3rem;
            height: 3rem;
            line-height: 3rem;
            text-align: center;
            position: absolute;
            right: 0;
            bottom: 0;
            font-size: 1.1em;
            &:hover {
              color: var(--text-hover-color);
              transform: scale(1.2);
            }
            &.show {
              display: block;
            }
          }
        }
      }
      .mtcbtn {
        outline: none;
        border: 1px solid;
        border-radius: 0.4rem;
        display: block;
        margin: 0 auto 1rem auto;
        line-height: 1;
        padding: 1rem 2.4rem;
        color: var(--btn-primary-color);
        background-color: var(--btn-primary-bg-color);
        border-color: var(--btn-primary-border-color);

        &:hover {
          color: var(--btn-primary-hover-color);
          background-color: var(--btn-primary-hover-bg-color);
          border-color: var(--btn-primary-hover-border-color);
        }
      }
      .tabs_wrap {
        position: relative;
        border: 1px solid var(--color9);
        min-height: 20rem;
        border-radius: 0.4rem;
        width: 96%;
        margin: 0 auto;
        .clean_btn {
          display: none;
          width: 3rem;
          height: 3rem;
          line-height: 3rem;
          text-align: center;
          position: absolute;
          right: 0;
          bottom: 0;
          font-size: 1.1em;
          &:hover {
            color: var(--text-hover-color);
            transform: scale(1.2);
          }
        }
      }
      .right_info {
        padding: 1rem;
        color: var(--color4);
        line-height: 1.5;
        white-space: pre-wrap;
        word-break: break-all;
      }
    }
  }
}
html.head_btn_to_right {
  .right_box .head {
    flex-flow: row-reverse;
    padding-left: 1rem;
  }
}
.pop_confirm_mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  .box {
    width: 90%;
    max-width: 25rem;
    max-height: 90%;
    position: absolute;
    display: flex;
    flex-flow: column;
    border-radius: 0.5rem;
    padding: 1.2rem;
    opacity: 0;
    transform: translateY(-2rem);
    transition: transform var(--speed-duration) var(--speed-timing),
      opacity var(--speed-duration) var(--speed-timing);
    background-color: var(--color10);
    box-shadow: var(--color5) 0rem 0rem 0.5rem;
    user-select: none;
    .text_box {
      flex: auto;
      font-size: 1.6rem;
      line-height: 2.4rem;
      word-break: break-all;
    }
    .btns {
      flex: none;
      text-align: right;
      padding-top: 1rem;
    }
  }
}
.percent_bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  .pro_box {
    position: absolute;
    width: 90%;
    max-width: 50rem;
    background-color: var(--color10);
    border-radius: 0.5rem;
    display: flex;
    padding: 1rem 3rem 3rem 3rem;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    box-shadow: 0 0 0.5rem var(--color5);
    opacity: 0;
    transform: translateY(-2rem);
    transition: transform var(--speed-duration) var(--speed-timing),
      opacity var(--speed-duration) var(--speed-timing);
    .percent_box {
      width: 100%;
      text-align: center;
      line-height: 5rem;
      font-size: 3rem;
    }
    .pro1_box {
      position: relative;
      width: 100%;
      height: 4rem;
      background-color: var(--color9);
      overflow: hidden;
      .pro2_box {
        position: absolute;
        top: 0;
        left: 0;
        height: 4rem;
        background-color: var(--color7);
        .dolt {
          float: right;
          transform: translateX(50%);
          height: 4rem;
          width: 4rem;
          background-color: var(--color6);
        }
      }
    }
  }
}
